package com.qujia.station.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qujia.station.domain.WarehouseDetails;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WarehouseDetailsMapper extends BaseMapper<WarehouseDetails> {
    int deleteByPrimaryKey(Long warehouseId);

    int insert(WarehouseDetails record);

    int insertSelective(WarehouseDetails record);

    WarehouseDetails selectByPrimaryKey(Long warehouseId);

    int updateByPrimaryKeySelective(WarehouseDetails record);

    int updateByPrimaryKey(WarehouseDetails record);

    List<WarehouseDetails> selectWarehouseByBatchId(Long batchId);

    WarehouseDetails selectWarehouseSum(WarehouseDetails warehouseDetails);
}